yjx.directive('containerScrollTop',['ipCookie',function(ipCookie){
    return{
        restrict:'EA',
        link:function($scope, $element, attr){
            $element.bind('scroll',function(evt){
                ipCookie('pdfScrollTop',$element.context.scrollTop);
            })
        }

    }
}])